package com.gitee.wsl.resource.font

import androidx.compose.ui.text.font.Font
import kotlinx.io.files.Path
import androidx.compose.ui.text.platform.Font


 actual suspend fun makeFont(spec: FontSpec, path: Path, bytes: ByteArray) : Font {
    return Font(
        identity = spec.name,
        getData = { bytes },
        weight = spec.weight,
        style = spec.style
    )
}